package com.ljfiction.book.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ljfiction.book.Baner.CreadVolumBean;
import com.ljfiction.book.R;

import java.util.List;

/**
 * Created by Android on 2017/11/11.
 */

public class CreadVolumAdapter extends BaseQuickAdapter<CreadVolumBean.DataBean,BaseViewHolder>{
    public CreadVolumAdapter(@LayoutRes int layoutResId, @Nullable List<CreadVolumBean.DataBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CreadVolumBean.DataBean item) {
        helper.setText(R.id.creadvolumtext,item.getVolumeName());
    }
}
